//覆盖一些element-ui样式

.el-breadcrumb__inner, .el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

.cell {
  .el-tag {
    margin-right: 0px;
  }
}

.small-padding {
  .cell {
    padding-left: 5px;
    padding-right: 5px;
  }
}

.fixed-width {
  .el-button--mini {
    padding: 7px 10px;
    width: 60px;
  }
}

.status-col {
  .cell {
    padding: 0 10px;
    text-align: center;
    .el-tag {
      margin-right: 0px;
    }
  }
}

//暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//文章页textarea修改样式
.article-textarea {
  textarea {
    padding-right: 40px;
    resize: none;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #bfcbd9;
  }
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;
    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

//dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

.is-error {
  .el-table--border {
    border-color: $--color-danger;
    border-right: solid 1px $--color-danger;
    border-bottom: solid 1px $--color-danger;
  }
}

.el-table {
  .el-form-item {
    margin-bottom: 0; // 修正表单在表格中被撑开
  }
}

.el-form-item {
  .el-switch {
    //height: 36px; // 服务订单设置了有错位影响
  }
}

// ui要求 card 去掉shadow

.el-card.is-always-shadow {
  webkit-box-shadow: none;
  box-shadow: none;
}

// 修改 el-card 的title 修改 未 font-size 15px  bold 来源周莉
.el-card {
  .el-card__header {
    .head-text {
      span {
        font-size: 15px;
        font-weight: bold;
      }
    }
    .title-text {
      span {
        font-size: 15px;
        font-weight: bold;
      }
    }
  }
}

// 修改表格组件样式
.el-table__header {
  thead {
    th {
      background-color: rgba(242, 245, 252, 1);
    }
  }
}


// 单选框组，背景透明
.el-radio-button-background-color-transparent {
  .el-radio-button__orig-radio:checked + .el-radio-button__inner {
    background-color: transparent;
  }
}
